package smilesnake.behavior_pattern.responsibilityChainModel;

import java.lang.reflect.Method;

import smilesnake.interceptor.Interceptor;


public class Interceptor1 implements Interceptor {

	@Override
	public boolean before(java.lang.Object proxy, java.lang.Object target, Method method, java.lang.Object[] args) {
		System.out.println("【拦截器1】的before方法");
		return true;
	}

	@Override
	public void around(java.lang.Object proxy, java.lang.Object target, Method method, java.lang.Object[] args) {}

	@Override
	public void after(java.lang.Object proxy, java.lang.Object target, Method method, java.lang.Object[] args) {
		System.out.println("【拦截器1】的after方法");
	}

}
